#!/usr/bin/python3
#--------------------#
# AboutDialog dialog #
#--------------------#

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk,GdkPixbuf

class AboutDialog(Gtk.AboutDialog):
    def __init__(self):
        logo = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/click-radio/icons/logo.png", 64, 64)

        Gtk.AboutDialog.__init__(self)
        self.set_version("Version 0.6.10")
        self.set_comments("Stream Recorder Player Converter Downloader\nCopyright © 2026 WTFPL")
        self.set_website("https://www.pclosdebian.com/")
        self.set_authors(["Ken Dotson\nCopyright © 2026 WTFPL"])
        self.set_icon_from_file("/usr/share/click-radio/icons/logo.png")
        self.set_logo(logo)
        self.connect("response", self.on_response)

    def on_response(self, dialog, response):
        self.destroy()

aboutdialog = AboutDialog()
aboutdialog.run()






